import { commonRequest } from '@/api/commonHttp';
// 获取近期选择品类
export const queryRecentCategoryListService = (data, loadingFn) => commonRequest({
  url: '/sysback/choose/category/getRecentCategoryList',
  type: 'post',
  data,
  loadingFn,
  isFormData: true
});
// 选择品类提交
export const submitCategoryService = (data, loadingFn) => commonRequest({
  url: '/sysback/choose/category/createProductCategoryOper',
  type: 'post',
  data,
  loadingFn,
  isFormData: true
});

// 商品准入管理 - 商品新增 - 获取品类的标签信息
export const queryCategoryLabelMsgService = (data, loadingFn) => commonRequest({
  url: '/sysback/product/category/label/queryCategoryLabelMsg',
  type: 'get',
  data,
  loadingFn
});
